# 输出9*9乘法口诀表
i=0
j=0
for i in range(1,10):
    for j in range(1,i+1):
        print("{}*{}={}".format(i,j,i*j))
    print()

s=input("请输入字符:")
a=0
b=0
c=0
d=0
for i in s:
    if i.isdigit():
        a=a+1
    elif i>='a' and i<='z':
        b=b+1
    elif i>='A' and i<='Z':
        b=b+1
    elif i>=u'\u4e00' and i<=u'\u9af5':
        c=c+1
    else:
        d=d+1
        print("数字个数:",a)
        print("字母个数:",b)
        print("汉字个数:",c)
        print("其他字符个数:",d)

